﻿@font-face {
    font-family: 'Harmonique-Heavy';
    src: url('../font/Harmonique-Heavy.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Harmonique-Medium';
    src: url('../font/Harmonique-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-primary: #091b27;
    --bg-panel: #0D1522;
    --bg-hover: #13233B;
    --blue-primary: #2D7DFF;
    --blue-hover: #5599FF;
    --blue-glow: rgba(45, 125, 255, 0.3);
    --ice-primary: #00E5FF;
    --ice-hover: #7DEBFF;
    --ice-glow: rgba(0, 229, 255, 0.35);
    --ice-glow-soft: rgba(0, 229, 255, 0.14);
    --ice-frost: #EAF6FF;
    --text-primary: #ffffff;
    --text-secondary: #8a9bb5;
    --text-muted: #5a6a85;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(45, 125, 255, 0.2);
    --glass-bg: rgba(13, 21, 34, 0.85);
    --glass-blur: 12px;
    --header-height: calc((100vw - 60px) * 320 / 2655 - 20px);
    --hero-height: 460px;
    --font-body: 'Harmonique-Medium', sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

img { max-width: 100%; display: block; }

input, button {
    font-family: inherit;
    border: none;
    outline: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1100px; 
    z-index: -1;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.bg-layer video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.header {
    position: absolute;
    top: -40px;
    left: 30px;
    right: 30px;
    z-index: 1000;
    height: calc((100vw - 60px) * 413 / 2655);
    background: url(../img/navbar.webp) no-repeat center / contain;
    display: flex;
    align-items: center;
    transform: scale(1.15);
    transform-origin: top center;
    pointer-events: none;
}

.header .nav-link,
.header .header-logo,
.header .lang-btn,
.header .mobile-toggle,
.header .dropdown-trigger,
.header .nav-dropdown,
.header .dropdown-menu {
    pointer-events: auto;
}

.header .language-switcher-floating {
    pointer-events: auto;
}

.header-inner {
    pointer-events: none;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 12px;
    z-index: 2;
}

.header-logo img {
    height: 202px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.9));
    transition: filter 0.25s ease;
}

.header-logo:hover img {
    filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.9)) brightness(1.35) saturate(1.15);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 36px;
    min-width: 0;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.nav-left {
    justify-content: flex-end;
    transform: translateX(40px);
}

.nav-right {
    justify-content: flex-start;
    transform: translateX(-65px);
}

.nav-right .nav-link {
    color: #fff;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.nav-right .nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
}

.nav-left .nav-link {
    color: #fff;
    transition: text-shadow 0.3s ease, color 0.3s ease;
}

.nav-left .nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
}

.nav-link.active {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
}

.nav-link.active::after {
    width: 100%;
}

.nav-dropdown {
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
}


.nav-dropdown {
    display: none;
}

.nav-dropdown .dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    padding: 9px 20px;
    background: linear-gradient(135deg, #0B6CC9, #2D7DFF, #00E5FF);
    border: none;
    color: #fff !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(0,0,0,0.4), inset 2px 0 0 rgba(255,255,255,0.1), inset -2px 0 0 rgba(0,0,0,0.25);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), 0 0 60px rgba(0, 229, 255, 0.2);
    animation: icePulse 2.4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.nav-dropdown .dropdown-trigger:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.7), 0 0 80px rgba(0, 229, 255, 0.4);
}

.nav-dropdown .dropdown-trigger i {
    font-size: 14px;
}

.nav-dropdown .dropdown-trigger .fa-chevron-down {
    font-size: 10px;
    opacity: 0.9;
}

@keyframes icePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), 0 0 60px rgba(0, 229, 255, 0.2), inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(0,0,0,0.4), inset 2px 0 0 rgba(255,255,255,0.1), inset -2px 0 0 rgba(0,0,0,0.25); transform: scale(1); }
    50% { box-shadow: 0 0 35px rgba(0, 229, 255, 0.7), 0 0 90px rgba(0, 229, 255, 0.4), inset 0 2px 0 rgba(255,255,255,0.35), inset 0 -2px 0 rgba(0,0,0,0.4), inset 2px 0 0 rgba(255,255,255,0.1), inset -2px 0 0 rgba(0,0,0,0.25); transform: scale(1.04); }
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 21, 34, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 220px;
    max-height: 720px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    transform: translateX(-50%) translateY(-4px);
    z-index: 100;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dk-marquee {
    width: 200px;
    max-height: 680px;
    overflow: hidden;
}

.dk-track {
    animation: dkScroll 30s linear infinite;
}

.dk-track:hover {
    animation-play-state: paused;
}

.dk-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    transition: background 0.3s;
    text-decoration: none;
}

.dk-card:hover {
    background: linear-gradient(90deg, rgba(45,125,255,0.08), rgba(45,125,255,0.15), transparent);
}

.dk-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(45,125,255,0.5);
    background: rgba(0,0,0,0.5);
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.8), 0 0 20px rgba(45,125,255,0.6);
}

.dk-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dk-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.dk-kills {
    font-size: 10px;
    font-weight: 800;
    color: var(--blue-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(45,125,255,0.7);
}

@keyframes dkScroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.nav-link {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
    padding: 6px 0;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-primary);
    transition: var(--transition);
    border-radius: 1px;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.castle-siege-link {
    color: #00e5ff !important;
    font-weight: 700;
    letter-spacing: 1px;
}

.castle-siege-link::after {
    background: #00e5ff !important;
}

.castle-siege-link:hover {
    color: #7ff0ff !important;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(13, 20, 36, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.3px;
    white-space: nowrap;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.15),
        inset 0 -2px 0 rgba(0,0,0,0.35),
        inset 2px 0 0 rgba(255,255,255,0.05),
        inset -2px 0 0 rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.1),
        inset 0 -2px 0 rgba(0,0,0,0.3),
        inset 2px 0 0 rgba(255,255,255,0.04),
        inset -2px 0 0 rgba(0,0,0,0.15);
}

.btn-outline:hover {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    background: rgba(45, 125, 255, 0.08);
}

.btn-primary {
    background: var(--blue-primary);
    color: #fff;
    border: 1px solid var(--blue-primary);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.25),
        inset 0 -2px 0 rgba(0,0,0,0.4),
        inset 2px 0 0 rgba(255,255,255,0.1),
        inset -2px 0 0 rgba(0,0,0,0.25);
}

.btn-primary:hover {
    background: var(--blue-hover);
    border-color: var(--blue-hover);
    box-shadow: 0 4px 20px var(--blue-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 9px 16px;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.1),
        inset 0 -2px 0 rgba(0,0,0,0.3),
        inset 2px 0 0 rgba(255,255,255,0.04),
        inset -2px 0 0 rgba(0,0,0,0.15);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

.hero {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: visible;
    z-index: 20;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-top: 350px;
}

.hero-fixed {
    position: absolute;
    top: 50vh;
    left: 50%;
    transform: translate(calc(-50% - 510px), calc(-50% - 200px));
    z-index: 20;
    pointer-events: auto;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0044aa, #1a5ccc, #2D7DFF, #00bbee);
    background-size: 300% 300%;
    padding: 18px 28px;
    border-radius: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 8px 60px rgba(0,0,0,0.4), 0 0 100px rgba(0,0,0,0.6), inset 0 5px 0 rgba(255,255,255,0.3), inset 0 -5px 0 rgba(0,0,0,0.5), inset 5px 0 0 rgba(255,255,255,0.1), inset -5px 0 0 rgba(0,0,0,0.3);
    animation: heroPulse 1.5s ease-in-out infinite, bgShift 8s ease-in-out infinite;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -120%;
    width: 70%;
    height: 160%;
    background: linear-gradient(100deg,
        transparent 20%,
        rgba(255,255,255,0.06) 35%,
        rgba(255,255,255,0.7) 48%,
        rgba(200,240,255,0.6) 50%,
        rgba(255,255,255,0.06) 65%,
        transparent 80%
    );
    transform: skewX(-15deg);
    animation: lightSweep 3.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    z-index: 0;
    pointer-events: none;
}

.hero-btn-content {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.hero-btn::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 58px;
    background: linear-gradient(135deg, #1a5ccc, #2D7DFF, #00E5FF);
    background-size: 300% 300%;
    animation: bgShift 8s ease-in-out infinite;
    z-index: -1;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 8px 40px rgba(0,0,0,0.95), 0 16px 80px rgba(0,0,0,0.9), 0 0 160px rgba(0,0,0,0.9);
    animation-play-state: paused;
}

.hero-btn svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
    transition: transform 0.3s ease;
}

.hero-btn:hover svg {
    transform: translateY(4px);
}

@keyframes lightSweep {
    0% { left: -120%; }
    100% { left: 150%; }
}

@keyframes bgShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes heroPulse {
    0%, 100% {
    box-shadow: 0 4px 30px rgba(0,0,0,0.9), 0 8px 60px rgba(0,0,0,0.8), 0 0 100px rgba(0,0,0,0.9), inset 0 5px 0 rgba(255,255,255,0.3), inset 0 -5px 0 rgba(0,0,0,0.5), inset 5px 0 0 rgba(255,255,255,0.1), inset -5px 0 0 rgba(0,0,0,0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 40px rgba(0,0,0,0.95), 0 12px 80px rgba(0,0,0,0.9), 0 0 160px rgba(0,0,0,0.9), inset 0 5px 0 rgba(255,255,255,0.3), inset 0 -5px 0 rgba(0,0,0,0.5), inset 5px 0 0 rgba(255,255,255,0.1), inset -5px 0 0 rgba(0,0,0,0.3);
        transform: scale(1.03);
    }
}

@keyframes heroBorderPulse {
    0%, 100% { border-color: rgba(0,229,255,0.4); box-shadow: 0 0 20px rgba(0,229,255,0.4), 0 0 60px rgba(0,229,255,0.2), 0 0 100px rgba(0,229,255,0.1), inset 0 0 20px rgba(0,229,255,0.1); }
    50% { border-color: rgba(0,229,255,1); box-shadow: 0 0 40px rgba(0,229,255,0.9), 0 0 100px rgba(0,229,255,0.5), 0 0 160px rgba(0,229,255,0.25), inset 0 0 40px rgba(0,229,255,0.3); }
}

.hero-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}


.main-dashboard-layout {
    position: relative;
    z-index: 3;
    padding-top: calc(var(--header-height) + 180px);
    padding-bottom: 80px;
    width: 100%;
}

.dashboard-top-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.dashboard-top-right {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.login-wrapper {
    width: 587px;
    height: 532px;
    position: relative;
    top: -180px;
    left: 295px;
    z-index: 10;
}

.aetherix-home-stats {
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 18px;
    z-index: 20;
    width: max-content;
}
.aetherix-home-stats .ahs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 128px;
    padding: 10px 18px;
    background: rgba(8, 16, 24, 0.72);
    border: 1px solid rgba(0, 229, 255, 0.30);
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.12);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.aetherix-home-stats .ahs-icon {
    color: #00e5ff;
    font-size: 13px;
    margin-bottom: 3px;
}
.aetherix-home-stats .ahs-item-online .ahs-icon {
    color: #2aff00;
    text-shadow: 0 0 8px rgba(42, 255, 0, 0.8);
}
.aetherix-home-stats .ahs-num {
    font-family: 'Harmonique-Heavy', sans-serif;
    color: #00e5ff;
    font-size: 24px;
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.7);
}
.aetherix-home-stats .ahs-label {
    color: #cfe6ff;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 3px;
    text-align: center;
}

.card-login {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.login-floating-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px;
    z-index: 15;
}

.login-title {
    color: #fff;
    font-size: 16px;
    font-family: 'Harmonique-Heavy', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
    margin-bottom: 45px;
}

.aetherix-login-form {
    display: flex;
    flex-direction: column;
    width: 250px;
    align-items: center;
}

.login-input-group {
    width: 100%;
    margin-bottom: 31px;
}

.login-input-group:first-child {
    margin-bottom: 25px;
}

.login-input-group:nth-child(2) {
    margin-bottom: 28px;
}

.aetherix-input {
    width: 100%;
    height: 40px;
    background: transparent;
    border: none;
    color: #333; 
    padding: 0 10px 0 35px; 
    font-family: 'Harmonique-Medium', sans-serif;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.aetherix-input::placeholder {
    color: #8a9bb5; 
}


.aetherix-input:-webkit-autofill,
.aetherix-input:-webkit-autofill:hover, 
.aetherix-input:-webkit-autofill:focus, 
.aetherix-input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: #333 !important;
}

.login-links {
    display: flex;
    gap: 8px;
    margin-top: -25px; 
    margin-bottom: 25px;
    font-size: 11px;
    color: #8a9bb5;
}

.login-links a {
    color: #00E5FF;
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-links a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.login-links .separator {
    color: #5a6a85;
}

.btn-aetherix-login {
    width: 140px;
    height: 36px;
    background: linear-gradient(135deg, #0B6CC9, #2D7DFF, #00E5FF);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-family: 'Harmonique-Medium', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-aetherix-login:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), inset 0 2px 0 rgba(255,255,255,0.4);
}


.dashboard-info-col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    position: relative;
    z-index: 50; 
    position: relative;
    top: -178px;
    left: 340px;
}

.dashboard-info-col .social-card-link + .social-card-link {
    margin-top: -22px;
}

.social-card-link {
    display: block;
    text-decoration: none;
    position: relative;
    width: 88px;
    height: 113px;
}

.card-info {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.social-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 2;
    padding-top: 15px; 
}

.social-icon {
    font-size: 26px;
    margin-bottom: 4px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.social-name {
    font-family: 'Harmonique-Medium', sans-serif;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 5px rgba(0,0,0,0.8), 0 0 10px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}


.facebook .social-icon { color: #1877F2; text-shadow: 0 0 15px rgba(24, 119, 242, 0.8); }
.whatsapp .social-icon { color: #25D366; text-shadow: 0 0 15px rgba(37, 211, 102, 0.8); }
.tiktok .social-icon   { color: #00f2fe; text-shadow: 0 0 15px rgba(0, 242, 254, 0.8); }
.discord .social-icon  { color: #5865F2; text-shadow: 0 0 15px rgba(88, 101, 242, 0.8); }
.youtube .social-icon  { color: #FF0000; text-shadow: 0 0 15px rgba(255, 0, 0, 0.8); }


.social-card-link:hover .card-info {
    transform: scale(1.05) translateX(-5px);
    filter: drop-shadow(0 15px 30px rgba(0, 168, 255, 0.6)) brightness(1.2);
}

.social-card-link:hover .social-icon {
    transform: scale(1.2) rotateY(360deg); 
}

.social-card-link:hover .social-name {
    transform: scale(1.1);
}


.social-card-link:hover .facebook .social-icon { text-shadow: 0 0 20px rgba(24, 119, 242, 1), 0 0 40px rgba(24, 119, 242, 0.8), 0 0 60px rgba(24, 119, 242, 0.6); }
.social-card-link:hover .facebook .social-name { color: #1877F2; text-shadow: 0 0 10px rgba(24, 119, 242, 0.8); }

.social-card-link:hover .whatsapp .social-icon { text-shadow: 0 0 20px rgba(37, 211, 102, 1), 0 0 40px rgba(37, 211, 102, 0.8), 0 0 60px rgba(37, 211, 102, 0.6); }
.social-card-link:hover .whatsapp .social-name { color: #25D366; text-shadow: 0 0 10px rgba(37, 211, 102, 0.8); }

.social-card-link:hover .tiktok .social-icon { text-shadow: 0 0 20px rgba(0, 242, 254, 1), 0 0 40px rgba(0, 242, 254, 0.8), 0 0 60px rgba(0, 242, 254, 0.6); }
.social-card-link:hover .tiktok .social-name { color: #00f2fe; text-shadow: 0 0 10px rgba(0, 242, 254, 0.8); }

.social-card-link:hover .discord .social-icon { text-shadow: 0 0 20px rgba(88, 101, 242, 1), 0 0 40px rgba(88, 101, 242, 0.8), 0 0 60px rgba(88, 101, 242, 0.6); }
.social-card-link:hover .discord .social-name { color: #5865F2; text-shadow: 0 0 10px rgba(88, 101, 242, 0.8); }

.social-card-link:hover .youtube .social-icon { text-shadow: 0 0 20px rgba(255, 0, 0, 1), 0 0 40px rgba(255, 0, 0, 0.8), 0 0 60px rgba(255, 0, 0, 0.6); }
.social-card-link:hover .youtube .social-name { color: #FF0000; text-shadow: 0 0 10px rgba(255, 0, 0, 0.8); }



.navy-space {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 60px;
    z-index: 1;
}

.dashboard-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    margin-top: -200px;
    position: relative;
    left: -90px;
}

.card-rankings,
.card-rankings-guild {
    width: 393px;
    height: 572px;
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.card-rankings-guild {
    position: relative;
    left: 573px;
}

.action-buttons-container {
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.action-btn.download-btn-float {
    position: absolute;
    top: -265px;
    left: 616px;
}

.action-btn.register-btn-float {
    position: absolute;
    top: -265px;
    left: 940px;
}

.action-buttons-container .action-btn {
    pointer-events: auto; 
}

.action-buttons-container .action-btn img {
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.action-btn.download-btn-float img {
    width: 359px; 
}

.action-btn.register-btn-float img {
    width: 359px; 
}

.action-buttons-container .action-btn:hover img {
    transform: scale(1.05);
    filter: brightness(1.2);
}


.btn-float-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Harmonique-Heavy', sans-serif;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #00e5ff 40%, #0b6cc9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9));
    text-align: center;
    width: 100%;
}


.btn-float-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, transparent 35%, rgba(255, 255, 255, 0.8) 50%, transparent 65%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    background-position: -200% center;
    z-index: 3;
    pointer-events: none;
    animation: shine-sweep 1.5s infinite linear; 
}

.action-btn:hover .btn-float-text {
    transform: translate(-50%, -50%) scale(1.08);
    filter: drop-shadow(0 0 15px rgba(0, 229, 255, 0.8));
}

.action-btn:hover .btn-float-text::before {
    animation: none; 
    background-position: center; 
}

@keyframes shine-sweep {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.ranking-floating-layer,
.ranking-guild-floating-layer {
    position: absolute;
    top: 0;
    width: 393px;
    height: 572px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 140px;
}

.ranking-floating-layer {
    left: 0;
}

.ranking-guild-floating-layer {
    left: 993px;
}

.ranking-module-title {
    color: #fff;
    font-family: 'Harmonique-Heavy', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
    margin-bottom: 30px; 
}

.ranking-list {
    width: 265px; 
    display: flex;
    flex-direction: column;
    gap: 5px; 
}

.ranking-item {
    display: flex;
    align-items: center;
    background: rgba(13, 21, 34, 0.6);
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 2px solid rgba(45, 125, 255, 0.5);
    padding: 3px 12px; 
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    transform: translateX(5px);
    background: rgba(19, 35, 59, 0.85);
    border-left-color: #2D7DFF;
    box-shadow: -5px 5px 15px rgba(0,0,0,0.5), 0 0 10px rgba(45, 125, 255, 0.2);
}

.rank-number {
    font-family: 'Harmonique-Heavy', sans-serif;
    font-size: 16px; 
    font-weight: 800;
    color: #00E5FF;
    width: 25px;
    text-shadow: 0 0 5px rgba(0, 229, 255, 0.5);
}

.rank-avatar {
    width: 28px; 
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.3);
    margin-right: 10px;
    background: #000;
}

.rank-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rank-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.rank-name a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.rank-name a:hover {
    color: #00E5FF;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

.rank-stats {
    color: #8a9bb5;
    font-size: 10px;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ranking-empty {
    color: #8a9bb5;
    font-size: 13px;
    text-align: center;
    margin-top: 20px;
}

.btn-ranking-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 36px;
    margin-top: 13px; 
    background: linear-gradient(135deg, #0B6CC9, #2D7DFF, #00E5FF);
    border: none;
    border-radius: 18px;
    color: #fff;
    font-family: 'Harmonique-Medium', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-ranking-more:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), inset 0 2px 0 rgba(255,255,255,0.4);
    color: #fff;
    text-decoration: none;
}


.news-box {
    width: 100%;
    max-width: 940px;
    height: 572px;
    object-fit: contain;
    object-position: center;
    flex-grow: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
    position: relative;
    left: -522px;
}

.news-floating-layer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(calc(-50% + 97px)); 
    width: 660px; 
    height: 572px;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 10;
}

.news-module-title {
    position: absolute;
    top: 112px; 
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 22px;
    font-family: 'Harmonique-Heavy', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
    pointer-events: none;
}


.news-floating-content {
    display: flex;
    flex-direction: column;
    width: 620px; 
    padding: 167px 10px 20px 10px; 
    box-sizing: border-box;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 10px; 
}

.news-card {
    display: flex;
    background: rgba(13, 21, 34, 0.6); 
    border: 1px solid rgba(255,255,255,0.05);
    border-left: 2px solid rgba(45, 125, 255, 0.5); 
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    pointer-events: auto;
}

.news-card:hover {
    transform: translateX(5px) scale(1.005); 
    box-shadow: -10px 10px 20px rgba(0,0,0,0.8), 0 0 15px rgba(45, 125, 255, 0.2);
    border-color: rgba(45,125,255,0.4);
    border-left-color: #2D7DFF;
    background: rgba(19, 35, 59, 0.85); 
}

.news-img {
    width: 160px; 
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
    background-color: #1a1a2e;
}

.news-info {
    flex: 1;
    padding: 6px; 
}

.news-tag {
    font-size: 8px; 
    font-weight: 700;
    color: #fff;
    padding: 2px 4px;
    border-radius: 4px;
    background: var(--blue-primary);
    display: inline-block;
    margin-bottom: 2px;
}

.news-tag.evento { background: #ff4757; }
.news-tag.actualizaciÃ³n { background: #2ed573; }

.news-title {
    font-size: 12px; 
    margin-bottom: 2px;
    font-family: 'Harmonique-Medium', sans-serif;
    color: #fff;
    font-weight: 600;
}

.news-desc {
    font-size: 9px; 
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.2;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 8px; 
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 6px;
}

.btn-read-more {
    margin-left: auto;
    color: var(--blue-primary);
    border: 1px solid var(--blue-primary);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-read-more:hover {
    background: var(--blue-primary);
    color: #fff;
}

.dashboard-castle-siege-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 40px;
    position: relative;
    top: -115px; 
    margin-bottom: -350px; 
}

.castle-siege-banner {
    width: 1361px; 
    max-width: none;
    margin-left: 10px; 
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}


.register-above-card {
    position: fixed;
    z-index: 11;
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% + 650px), calc(-50% - 258px));
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0044aa, #1a5ccc, #2D7DFF, #00bbee);
    background-size: 300% 300%;
    padding: 18px 28px;
    border-radius: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 4px 30px rgba(0,0,0,0.6), 0 8px 60px rgba(0,0,0,0.4), 0 0 100px rgba(0,0,0,0.6), inset 0 5px 0 rgba(255,255,255,0.3), inset 0 -5px 0 rgba(0,0,0,0.5), inset 5px 0 0 rgba(255,255,255,0.1), inset -5px 0 0 rgba(0,0,0,0.3);
    animation: bgShift 8s ease-in-out infinite;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    border: none;
    cursor: pointer;
}

.register-above-card::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -120%;
    width: 70%;
    height: 160%;
    background: linear-gradient(100deg,
        transparent 20%,
        rgba(255,255,255,0.06) 35%,
        rgba(255,255,255,0.7) 48%,
        rgba(200,240,255,0.6) 50%,
        rgba(255,255,255,0.06) 65%,
        transparent 80%
    );
    transform: skewX(-15deg);
    animation: lightSweep 3.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    z-index: 0;
    pointer-events: none;
}

.register-above-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 58px;
    background: linear-gradient(135deg, #1a5ccc, #2D7DFF, #00E5FF);
    background-size: 300% 300%;
    animation: bgShift 8s ease-in-out infinite;
    z-index: -1;
}

.register-above-card:hover {
    transform: translate(calc(-50% + 650px), calc(-50% - 263px)) scale(1.06);
    box-shadow: 0 8px 40px rgba(0,0,0,0.95), 0 16px 80px rgba(0,0,0,0.9), 0 0 160px rgba(0,0,0,0.9);
    animation-play-state: paused;
}

.card-login .card-body {
    justify-content: center;
    padding: 14px 20px 18px;
}

.card-login .login-form {
    gap: 10px;
}

.card-login .form-group {
    gap: 4px;
}

.card-login .login-welcome {
    gap: 8px;
}

.card-login .login-welcome h4 {
    font-size: 13px;
    font-weight: 600;
}

.card-login .login-welcome .avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.w-100 {
    width: 100%;
    display: block;
    text-align: center;
}

.card {
    background: rgba(8, 16, 28, 0.92);
    border: 1px solid rgba(45, 125, 255, 0.12);
    border-top: 1px solid rgba(45, 125, 255, 0.25);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 60px rgba(45,125,255,0.04);
}

.card:hover {
    border-color: rgba(45, 125, 255, 0.25);
    border-top-color: rgba(45, 125, 255, 0.4);
    box-shadow: 0 8px 40px rgba(0,0,0,0.5), 0 0 80px rgba(45,125,255,0.08);
}

.card-header {
    padding: 18px 24px;
    border-bottom: 1px solid rgba(45, 125, 255, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, rgba(45,125,255,0.06), transparent);
}

.card-header h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-header .icon {
    width: 18px;
    height: 18px;
    color: var(--blue-primary);
    filter: drop-shadow(0 0 8px rgba(45,125,255,0.5));
}

.card-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 50% 0%, rgba(45,125,255,0.02), transparent 70%);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 3px var(--blue-glow);
    background: rgba(0, 0, 0, 0.4);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.btn-submit {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    background: var(--blue-primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.btn-submit:hover {
    background: var(--blue-hover);
    box-shadow: 0 4px 20px var(--blue-glow);
    transform: translateY(-1px);
}

.login-welcome {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 16px;
    text-align: center;
}

.login-welcome .avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-hover);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--blue-primary);
}

.login-welcome h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.login-welcome p {
    font-size: 13px;
    color: var(--text-secondary);
}

.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
}

.form-links a {
    color: var(--text-muted);
}

.form-links a:hover {
    color: var(--blue-primary);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.news-item {
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 16px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item:hover {
    padding-left: 6px;
}

.news-item:hover .news-title {
    color: var(--blue-primary);
}

.news-thumb {
    width: 120px;
    height: 68px;
    border-radius: var(--radius-sm);
    background: var(--bg-hover);
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-muted);
    background: var(--bg-hover);
}

.news-info {
    min-width: 0;
    flex: 1;
}

.news-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 11px;
    color: var(--text-muted);
}

.news-arrow {
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}

.news-item:hover .news-arrow {
    color: var(--blue-primary);
    transform: translateX(3px);
}

.rankings-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.rank-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item:hover {
    padding-left: 8px;
    background: linear-gradient(90deg, rgba(45,125,255,0.06), transparent);
}

.rank-pos {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-secondary);
    background: var(--bg-hover);
    flex-shrink: 0;
}

.rank-pos.top-1 {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
}

.rank-pos.top-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #000;
}

.rank-pos.top-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: #fff;
}

.rank-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-score {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue-primary);
    flex-shrink: 0;
}

.card-footer-action {
    padding: 14px 24px 20px;
    text-align: center;
    border-top: 1px solid rgba(45, 125, 255, 0.06);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 24px;
    border: 1px solid rgba(45, 125, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: rgba(45,125,255,0.04);
}

.btn-view-all:hover {
    color: var(--blue-primary);
    border-color: var(--blue-primary);
    background: rgba(45, 125, 255, 0.1);
    box-shadow: 0 0 20px rgba(45,125,255,0.1);
}

.btn-view-all svg {
    width: 14px;
    height: 14px;
    transition: var(--transition);
}

.btn-view-all:hover svg {
    transform: translateX(3px);
}

.footer {
    position: relative;
    width: 100%;
    height: 800px; 
    margin-top: -330px; 
    z-index: 2;
    background: url(../img/bg-footer.webp) no-repeat center top / 100% auto;
}

.footer::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(to bottom, transparent 0%, #0d151c 30%, #0d151c 100%);
    z-index: -1;
}

.footer .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 15px;
}

.footer-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: -90px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--blue-hover);
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0c8e8;
    font-size: 17px;
    background: linear-gradient(135deg, #1a4a8a, #0d2b5a);
    border: 1px solid rgba(45, 125, 255, 0.3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, #2D7DFF, #0050C8);
    opacity: 0;
    transition: opacity 0.35s;
}

.footer-social a i {
    position: relative;
    z-index: 1;
}

.footer-social a:hover {
    color: #fff;
    border-color: #4d8dff;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 32px rgba(45, 125, 255, 0.45);
}

.footer-social a:hover::before {
    opacity: 1;
}

.language-switcher-floating {
    position: absolute;
    right: calc(18% - 70px);
    top: 62px;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 100;
    background: rgba(13, 20, 36, 0.85);
    padding: 6px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.1);
}
.lang-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #5a6a85;
    text-decoration: none;
    transition: 0.3s ease;
    text-transform: uppercase;
    gap: 3px;
}
.lang-btn img {
    width: 16px;
    height: auto;
    border-radius: 2px;
    opacity: 0.6;
    transition: 0.3s ease;
}
.lang-btn:hover, .lang-btn.active {
    color: #00e5ff;
}
.lang-btn:hover img, .lang-btn.active img {
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}
.header-divider {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 5px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    background: none;
    border: none;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.snowfall {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
}

.snowfall i {
    position: absolute;
    top: -12px;
    display: block;
    border-radius: 50%;
    background: var(--ice-frost);
    opacity: 0;
    animation: snowFall linear infinite;
    will-change: transform, opacity;
}

@keyframes snowFall {
    0% {
        transform: translate3d(0, -3vh, 0);
        opacity: 0;
    }
    10% {
        opacity: var(--flake-opacity, 0.8);
    }
    85% {
        opacity: var(--flake-opacity, 0.8);
    }
    100% {
        transform: translate3d(var(--flake-drift, 4vw), 103vh, 0);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .snowfall {
        display: none;
    }
}



@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .header-inner {
        padding: 0 24px;
    }

    .header-nav {
        display: none;
    }

    .header-nav.open {
        display: flex;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(8, 16, 24, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
        transform: none;
    }

    .header-nav.open .header-logo {
        display: none;
    }

    .header-nav.open .nav-group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 100%;
    }

    .header-nav.open .nav-link {
        padding: 14px 24px;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .header-nav.open .nav-link:last-child {
        border-bottom: none;
    }

    .header-nav.open .nav-link::after {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 968px) {
    .cards-grid {
        flex-wrap: wrap;
    }

    .cards-grid .card:nth-child(1),
    .cards-grid .card:nth-child(2) {
        flex: 1 1 calc(50% - 10px) !important;
        width: auto;
    }

    .cards-grid .card:nth-child(3) {
        flex: 1 1 100% !important;
        width: auto;
        margin-left: 0;
    }

    .hero {
        height: 380px;
    }

    .hero-btn {
        padding: 14px 36px;
        font-size: 14px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .header-inner {
        padding: 0 16px;
    }

    .cards-grid {
        flex-direction: column;
    }

    .cards-grid .card {
        width: 100% !important;
        flex: none !important;
    }

    .cards-grid .card:nth-child(3) {
        margin-left: 0;
    }

    .hero {
        height: 340px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 13px;
    }

    .header-actions .btn span {
        display: none;
    }

    .footer-links {
        gap: 16px;
    }

    .footer-social {
        gap: 12px;
    }

    .card-header {
        padding: 14px 18px;
    }

    .card-body {
        padding: 16px 18px;
    }
}


.video-control-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    pointer-events: auto;
    z-index: 9999;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(13, 21, 34, 0.7);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00E5FF;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.video-control-btn:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: #00E5FF;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.6);
    transform: scale(1.15);
    color: #fff;
}


.fat-footer-wrapper { width: 100%; display: flex; flex-direction: column; }
.fat-footer-top { display: flex; justify-content: space-between; padding-bottom: 30px; border-bottom: 1px solid rgba(0, 229, 255, 0.15); margin-bottom: 20px; }
.ff-brand { width: 55%; transform: translateX(330px); position: relative; }
.ff-brand-logo { position: absolute; left: -370px; top: 50%; transform: translateY(-50%); }
.ff-brand-logo img { max-width: 310px; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55)); transition: filter 0.25s ease; }
.ff-brand-logo:hover img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55)) brightness(1.35) saturate(1.15); }
.ff-brand-text { display: block; }
.ff-brand h2 { font-family: 'Harmonique-Heavy', sans-serif; font-size: 28px; color: #fff; margin-bottom: 10px; text-shadow: 0 0 10px rgba(0,229,255,0.8); }
.ff-badges { display: grid; grid-template-columns: max-content max-content; gap: 10px; margin-bottom: 15px; justify-content: start; }
.ff-badges span { font-size: 11px; background: rgba(0,229,255,0.1); border: 1px solid rgba(0,229,255,0.3); padding: 4px 8px; border-radius: 4px; color: #00e5ff; font-family: 'Harmonique-Medium', sans-serif; }
.ff-brand p { font-size: 13px; color: #8a9bb5; line-height: 1.5; }
.ff-nav { width: 18%; }
.ff-nav:nth-child(2) { transform: translateX(130px); }
.ff-nav:nth-child(3) { transform: translateX(80px); }
.ff-nav h3 { font-family: 'Harmonique-Medium', sans-serif; font-size: 16px; color: #fff; margin-bottom: 15px; border-left: 3px solid #00e5ff; padding-left: 8px; }
.ff-nav ul { list-style: none; padding: 0; margin: 0; }
.ff-nav ul li { margin-bottom: 10px; }
.ff-nav ul li a { font-size: 13px; color: #8a9bb5; text-decoration: none; transition: all 0.3s ease; }
.ff-nav ul li a:hover { color: #00e5ff; padding-left: 5px; }
.ff-bottom { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.ff-credit { font-size: 13px; color: #8a9bb5; }


.castle-siege-wrapper { position: relative; display: inline-block; }
.cs-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: space-between; padding: 140px 80px 40px 80px; box-sizing: border-box; }
.cs-left { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 25px; }
.cs-logo-box { width: 70px; height: 70px; border: 2px solid #00e5ff; border-radius: 8px; overflow: hidden; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); background: rgba(0,0,0,0.5); }
.cs-logo-box img { width: 100%; height: 100%; image-rendering: pixelated; }
.cs-info-block { display: flex; flex-direction: column; }
.cs-label { font-family: 'Harmonique-Heavy', sans-serif; font-size: 16px; color: #ffffff; letter-spacing: 1px; line-height: 1; }
.cs-highlight { color: #00e5ff; text-shadow: 0 0 10px rgba(0, 229, 255, 0.8); font-size: 20px; line-height: 1; }
.cs-slogan { font-size: 11px; color: var(--text-secondary); text-transform: lowercase; margin-top: 2px; font-style: italic; line-height: 1; }
.mt-10 { margin-top: 15px; }
.cs-right { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 15px; margin-top: 20px; }
.cs-stats { display: flex; flex-direction: column; gap: 15px; }
.cs-stat-item { display: flex; flex-direction: column; }
.cs-value { color: #ffffff; font-size: 22px; font-family: 'Harmonique-Heavy', sans-serif; line-height: 1; }
.cs-allies { margin-top: 10px; text-align: right; }
.cs-ally-list { list-style: none; padding: 0; margin: 5px 0 0 0; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.cs-ally-list li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #fff; font-family: 'Harmonique-Medium', sans-serif; }
.cs-ally-list img { width: 20px; height: 20px; border: 1px solid rgba(255,255,255,0.2); image-rendering: pixelated; }


.cs-countdown-box { position: absolute; left: 320px; top: 50%; transform: translateY(-50%); background: rgba(2, 7, 14, 0.75); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 8px; padding: 15px 25px; box-shadow: 0 0 20px rgba(0, 0, 0, 0.8), inset 0 0 15px rgba(0, 229, 255, 0.05); backdrop-filter: blur(5px); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cs-countdown-title { font-size: 11px; color: #00e5ff; text-transform: uppercase; letter-spacing: 2px; font-family: 'Harmonique-Medium', sans-serif; text-shadow: 0 0 5px rgba(0,229,255,0.5); }
.cs-countdown-timer { display: flex; align-items: center; gap: 10px; }
.cs-time { display: flex; flex-direction: column; align-items: center; }
.cs-time span { font-family: 'Harmonique-Heavy', sans-serif; font-size: 26px; color: #ffffff; line-height: 1; text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); }
.cs-time small { font-size: 9px; color: var(--text-secondary); margin-top: 4px; letter-spacing: 1px; }
.cs-time-sep { font-size: 20px; color: rgba(255,255,255,0.3); margin-top: -15px; }


.cs-split-title-left { position: absolute; top: 75px; left: 440px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; z-index: 10; }
.cs-split-title-right { position: absolute; top: 75px; right: 455px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; z-index: 10; }
.cs-title-text { font-family: 'Harmonique-Heavy', sans-serif; font-size: 44px; color: #ffffff; letter-spacing: 2px; margin: 0; line-height: 1; text-transform: uppercase; text-shadow: 0 0 15px rgba(255,255,255,0.4); }
.cs-title-sub { font-size: 13px; color: var(--text-secondary); margin: -2px 0 0 0; line-height: 1; text-transform: lowercase; font-style: italic; letter-spacing: 0.5px; }


.nav-group .nav-link:not(:last-child)::before {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background: rgba(255, 255, 255, 0.25);
    pointer-events: none;
}


.register-container { max-width: 600px; margin: 0 auto; }
.panel-general { background: rgba(13, 20, 36, 0.85); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 229, 255, 0.05); backdrop-filter: blur(15px); overflow: hidden; margin-bottom: 30px; }
.panel-guides-list {
    display: grid;
    background: url(../img/mainframe-guides.png) top center / 100% 100% no-repeat;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.panel-guides-list::before {
    content: "";
    grid-area: 1 / 1;
    padding-top: 98.13%;
}
.panel-guides-list > .panel-body {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
    padding: 150px 175px 95px;
}
.panel-guides-list .content-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.panel-guides-list .guias-two-col {
    flex: 1;
    align-items: stretch;
}
.panel-body { padding: 30px; }
.page-title { font-family: 'Harmonique-Heavy', sans-serif; color: #fff; font-size: 24px; margin-bottom: 20px; text-shadow: 0 0 10px rgba(0, 229, 255, 0.8); display: flex; align-items: center; gap: 10px; }
.page-title i { color: #00e5ff; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; color: #8a9bb5; font-size: 13px; margin-bottom: 8px; font-weight: 500; }
.input-group { display: flex; align-items: stretch; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 4px; overflow: hidden; transition: 0.3s ease; }
.input-group:focus-within { border-color: #00e5ff; box-shadow: 0 0 10px rgba(0, 229, 255, 0.3); }
.input-group-text { background: rgba(0, 229, 255, 0.05); border-right: 1px solid rgba(0, 229, 255, 0.15); padding: 12px 15px; color: #00e5ff; display: flex; align-items: center; justify-content: center; }
.form-control { background: transparent; border: none; color: #fff; padding: 12px 15px; width: 100%; outline: none; font-family: 'Inter', sans-serif; }
.form-control::placeholder { color: rgba(255, 255, 255, 0.3); }
.form-text { font-size: 11px; color: rgba(138, 155, 181, 0.7); margin-top: 5px; }
hr { border: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent); margin: 25px 0; }
.btn-primary { background: linear-gradient(90deg, #0088cc, #00e5ff); color: #fff; border: none; padding: 14px 20px; border-radius: 4px; font-family: 'Harmonique-Medium', sans-serif; font-size: 15px; cursor: pointer; transition: 0.3s ease; text-transform: uppercase; letter-spacing: 1px; box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3); display: inline-block; text-align: center; text-decoration: none; }
.btn-primary:hover { box-shadow: 0 4px 20px rgba(0, 229, 255, 0.6); transform: translateY(-2px); color: #fff; text-decoration: none; }
.btn-block { display: block; width: 100%; }


.table { width: 100%; max-width: 100%; margin-bottom: 20px; border-collapse: separate; border-spacing: 0; background: rgba(2, 7, 14, 0.6); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 8px; overflow: hidden; backdrop-filter: blur(10px); }
.table th, .table td { padding: 12px 15px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(0, 229, 255, 0.1); color: #fff; font-family: 'Inter', sans-serif; font-size: 13px; }
.table th { background: rgba(0, 229, 255, 0.1); font-family: 'Harmonique-Medium', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: #00e5ff; border-bottom: 2px solid rgba(0, 229, 255, 0.3); }
.table tbody tr { transition: all 0.3s ease; }
.table tbody tr:hover { background: rgba(0, 229, 255, 0.05); }
.table tbody tr:last-child td { border-bottom: none; }
.rankings-table-place { font-family: 'Harmonique-Heavy', sans-serif; color: #00e5ff; font-size: 16px; width: 50px; text-align: center; }
.online-status-indicator { width: 10px; height: 10px; border-radius: 50%; display: inline-block; box-shadow: 0 0 5px rgba(255,255,255,0.5); }
.rankings-update-time { font-size: 11px; color: #8a9bb5; text-align: right; margin-top: -10px; margin-bottom: 20px; font-style: italic; }
.rankings-table { width: 100%; max-width: 100%; margin-bottom: 20px; border-collapse: separate; border-spacing: 0; background: rgba(2, 7, 14, 0.6); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 8px; overflow: hidden; backdrop-filter: blur(10px); }
.rankings-table td { padding: 12px 15px; text-align: left; vertical-align: middle; border-bottom: 1px solid rgba(0, 229, 255, 0.1); color: #fff; font-family: 'Inter', sans-serif; font-size: 13px; }
.rankings-table tr:first-child td { background: rgba(0, 229, 255, 0.1); font-family: 'Harmonique-Medium', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; color: #00e5ff; border-bottom: 2px solid rgba(0, 229, 255, 0.3); }
.rankings-table tbody tr { transition: all 0.3s ease; }
.rankings-table tbody tr:hover td { background: rgba(0, 229, 255, 0.05); }
.rankings-table tbody tr:last-child td { border-bottom: none; }



.panel { background: rgba(13, 20, 36, 0.85); border: 1px solid rgba(0, 229, 255, 0.2); border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(0, 229, 255, 0.05); backdrop-filter: blur(15px); overflow: hidden; margin-bottom: 30px; }
.panel-heading { background: rgba(0, 229, 255, 0.05); border-bottom: 1px solid rgba(0, 229, 255, 0.15); padding: 15px 20px; }
.panel-title { font-family: 'Harmonique-Heavy', sans-serif; font-size: 20px; margin: 0; }
.panel-title a { color: #00e5ff; text-decoration: none; text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); transition: 0.3s ease; }
.panel-title a:hover { color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.8); }
.panel-body { padding: 20px; color: #d0d7e5; font-size: 14px; line-height: 1.6; font-family: 'Inter', sans-serif; }
.panel-footer { background: rgba(0, 0, 0, 0.2); border-top: 1px solid rgba(0, 229, 255, 0.15); padding: 10px 20px; font-size: 12px; color: #8a9bb5; display: flex; justify-content: space-between; align-items: center; }
.news-readmore { background: linear-gradient(90deg, #0088cc, #00e5ff); color: #fff; padding: 6px 15px; border-radius: 4px; font-family: 'Harmonique-Medium', sans-serif; text-transform: uppercase; letter-spacing: 1px; font-size: 11px; text-decoration: none; box-shadow: 0 2px 10px rgba(0, 229, 255, 0.3); transition: 0.3s ease; }
.news-readmore:hover { box-shadow: 0 4px 15px rgba(0, 229, 255, 0.6); transform: translateY(-2px); color: #fff; text-decoration: none; }


.alert { padding: 15px 20px; margin-bottom: 20px; border-radius: 6px; font-family: 'Inter', sans-serif; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.alert-danger { background: rgba(220, 53, 69, 0.1); border: 1px solid rgba(220, 53, 69, 0.3); color: #ff6b6b; box-shadow: inset 0 0 15px rgba(220, 53, 69, 0.1); }
.alert-success { background: rgba(40, 167, 69, 0.1); border: 1px solid rgba(40, 167, 69, 0.3); color: #51cf66; box-shadow: inset 0 0 15px rgba(40, 167, 69, 0.1); }
.alert-warning { background: rgba(255, 193, 7, 0.1); border: 1px solid rgba(255, 193, 7, 0.3); color: #fcc419; box-shadow: inset 0 0 15px rgba(255, 193, 7, 0.1); }
.alert-info { background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); color: #00e5ff; box-shadow: inset 0 0 15px rgba(0, 229, 255, 0.1); }


.server-info-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 120px; margin-top: 15px; margin-bottom: 35px; }
.info-card { width: 160px; height: 160px; background: rgba(13, 20, 36, 0.6); border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 10px; transition: 0.3s ease; backdrop-filter: blur(5px); flex-shrink: 0; }
.info-card:hover { border-color: rgba(0, 229, 255, 0.5); transform: translateY(-5px); box-shadow: 0 5px 25px rgba(0, 229, 255, 0.25); background: rgba(13, 20, 36, 0.85); }
.info-card-icon { font-size: 40px; color: #00e5ff; text-shadow: 0 0 15px rgba(0, 229, 255, 0.5); transform: translateY(15px); }
.info-card-data { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.info-card-val { font-family: 'Harmonique-Heavy', sans-serif; font-size: 22px; color: #fff; }
.info-card-lbl { font-size: 13px; color: #8a9bb5; text-transform: uppercase; font-weight: 500; transform: translateY(-10px); }


.pagination { display: flex; padding-left: 0; list-style: none; border-radius: 4px; gap: 5px; justify-content: center; margin-top: 20px; }
.pagination > li > a, .pagination > li > span { padding: 8px 14px; background: rgba(13, 20, 36, 0.85); border: 1px solid rgba(0, 229, 255, 0.2); color: #00e5ff; text-decoration: none; border-radius: 4px; font-family: 'Harmonique-Medium', sans-serif; transition: 0.3s ease; }
.pagination > li > a:hover { background: rgba(0, 229, 255, 0.2); color: #fff; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }
.pagination > .active > a, .pagination > .active > span { background: #00e5ff; border-color: #00e5ff; color: #000; font-weight: 700; box-shadow: 0 0 15px rgba(0, 229, 255, 0.6); }


.panel-general .panel-general { background: transparent !important; border: none !important; box-shadow: none !important; backdrop-filter: none !important; margin-bottom: 0 !important; padding: 0 !important; }
.panel-general .panel-general .panel-body { padding: 0 !important; }


.rankings_menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 25px; }
.rankings_menu a { background: rgba(13, 20, 36, 0.6); border: 1px solid rgba(0, 229, 255, 0.2); padding: 8px 16px; color: #8a9bb5; text-decoration: none; border-radius: 4px; font-family: 'Harmonique-Medium', sans-serif; font-size: 12px; transition: 0.3s ease; text-transform: uppercase; letter-spacing: 1px; }
.rankings_menu a:hover, .rankings_menu a.active { background: rgba(0, 229, 255, 0.15); border-color: #00e5ff; color: #fff; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); }

.rankings-class-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; list-style: none; padding: 0; margin-bottom: 30px; }
.rankings-class-filter li { display: inline-block; }
.rankings-class-filter-selection { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; color: #8a9bb5; text-decoration: none; font-size: 11px; font-family: 'Inter', sans-serif; text-transform: uppercase; transition: 0.3s ease; }
.rankings-class-filter-image { width: 50px; height: 50px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.1); transition: 0.3s ease; }
.rankings-class-filter-selection:hover { color: #00e5ff; text-decoration: none; }
.rankings-class-filter-selection:hover .rankings-class-filter-image { border-color: #00e5ff; box-shadow: 0 0 15px rgba(0, 229, 255, 0.5); transform: translateY(-3px); filter: grayscale(0) !important; }
.rankings-class-filter-grayscale .rankings-class-filter-image { filter: grayscale(100%); opacity: 0.7; }
.rankings-class-image { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0, 229, 255, 0.3); }


.usercp-grid { display: flex; flex-wrap: wrap; justify-content: center; margin: 0 -10px; }
.usercp-grid-cell { padding: 0 10px; }
.usercp-card { 
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    background: rgba(13, 20, 36, 0.6); border: 1px solid rgba(0, 229, 255, 0.15); 
    border-radius: 8px; padding: 25px 15px; text-decoration: none !important; 
    transition: all 0.3s ease; height: 100%; backdrop-filter: blur(5px);
}
.usercp-card:hover { 
    background: rgba(0, 229, 255, 0.05); border-color: rgba(0, 229, 255, 0.6); 
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3); transform: translateY(-5px); text-decoration: none !important;
}
.usercp-icon { 
    font-size: 42px; color: #00e5ff; margin-bottom: 15px; 
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5); transition: all 0.3s ease;
}
.usercp-card:hover .usercp-icon {
    text-shadow: 0 0 25px rgba(0, 229, 255, 0.9); transform: scale(1.1);
}
.usercp-title { 
    font-family: 'Harmonique-Medium', sans-serif; color: #fff; 
    font-size: 13px; text-transform: uppercase; letter-spacing: 1px; text-align: center;
}


.usercp-sidebar-menu { list-style: none; padding: 0; margin: 0; }
.usercp-sidebar-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.usercp-sidebar-menu li:last-child { border-bottom: none; }
.usercp-sidebar-menu li a { 
    display: block; padding: 12px 20px; color: #8a9bb5; text-decoration: none !important;
    font-family: 'Harmonique-Medium', sans-serif; font-size: 13px; text-transform: uppercase;
    transition: all 0.3s ease; border-left: 3px solid transparent;
}
.usercp-sidebar-menu li a i { width: 25px; text-align: center; color: #00e5ff; opacity: 0.7; transition: all 0.3s ease; }
.usercp-sidebar-menu li a:hover, .usercp-sidebar-menu li.active a {
    background: rgba(0, 229, 255, 0.05); color: #fff; border-left-color: #00e5ff;
}
.usercp-sidebar-menu li a:hover i, .usercp-sidebar-menu li.active a i {
    opacity: 1; text-shadow: 0 0 10px rgba(0, 229, 255, 0.8); transform: scale(1.1);
}


.myaccount-table { width: 100%; border-collapse: separate; border-spacing: 0 8px; margin-bottom: 30px; }
.myaccount-table td { padding: 15px 20px; background: rgba(0, 229, 255, 0.03); border-top: 1px solid rgba(0, 229, 255, 0.1); border-bottom: 1px solid rgba(0, 229, 255, 0.1); color: #8a9bb5; }
.myaccount-table td:first-child { border-left: 1px solid rgba(0, 229, 255, 0.1); border-top-left-radius: 8px; border-bottom-left-radius: 8px; font-family: 'Harmonique-Medium', sans-serif; color: #fff; text-transform: uppercase; letter-spacing: 1px; width: 40%; }
.myaccount-table td:last-child { border-right: 1px solid rgba(0, 229, 255, 0.1); border-top-right-radius: 8px; border-bottom-right-radius: 8px; text-align: right; }
.myaccount-character-block { background: rgba(13, 20, 36, 0.6); border: 1px solid rgba(0, 229, 255, 0.15); border-radius: 12px; padding: 20px; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; margin-bottom: 20px; }
.myaccount-character-block:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 229, 255, 0.15); border-color: rgba(0, 229, 255, 0.5); }
.myaccount-character-block img { width: 80px; height: 80px; border-radius: 50%; border: 2px solid #00e5ff; box-shadow: 0 0 15px rgba(0, 229, 255, 0.4); margin-bottom: 15px; }
.myaccount-character-name { font-family: 'Harmonique-Heavy', sans-serif; color: #fff; font-size: 16px; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px; display:flex; justify-content:center; align-items:center; }
.myaccount-character-block-level { display: inline-block; background: rgba(0, 229, 255, 0.1); color: #00e5ff; padding: 4px 12px; border-radius: 20px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600; border: 1px solid rgba(0, 229, 255, 0.3); margin-top:10px; }
.myaccount-character-block-location { color: #8a9bb5; font-size: 12px; margin-bottom: 0px; }
.online-status-indicator { width: 12px !important; height: 12px !important; border: none !important; box-shadow: none !important; margin-left: 8px !important; margin-bottom: 0 !important; border-radius: 50% !important; }


.btn-primary { 
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.8) 0%, rgba(0, 153, 255, 0.8) 100%);
    color: #0d1424; border: 1px solid rgba(0, 229, 255, 0.5); padding: 12px 25px; border-radius: 4px;
    font-family: 'Harmonique-Medium', sans-serif; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2); outline: none;
}
.btn-primary:hover, .btn-primary:focus {
    transform: translateY(-2px); box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
    border-color: #00e5ff; color: #fff; background: transparent;
}
.btn-primary:active { transform: translateY(0); }

.module-requirements {
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.05);
    border-radius: 8px; padding: 20px; margin-top: 30px;
    font-family: 'Inter', sans-serif; font-size: 13px; color: #8a9bb5;
}
.module-requirements p { margin-bottom: 8px; }
.module-requirements p:last-child { margin-bottom: 0; }
.module-requirements strong { color: #00e5ff; }


.general-table-ui { width: 100%; border-collapse: separate; border-spacing: 0 5px; margin-bottom: 20px; }
.general-table-ui td { background: rgba(13, 20, 36, 0.6); padding: 15px; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); color: #8a9bb5; font-size: 13px; vertical-align: middle; }
.general-table-ui td:first-child { border-left: 1px solid rgba(255,255,255,0.05); border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.general-table-ui td:last-child { border-right: 1px solid rgba(255,255,255,0.05); border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.general-table-ui tr:hover td { background: rgba(0, 229, 255, 0.05); color: #fff; border-top-color: rgba(0, 229, 255, 0.2); border-bottom-color: rgba(0, 229, 255, 0.2); }
.general-table-ui tr:hover td:first-child { border-left-color: rgba(0, 229, 255, 0.2); }
.general-table-ui tr:hover td:last-child { border-right-color: rgba(0, 229, 255, 0.2); }


.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 12px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    letter-spacing: 1px;
}
.usercp-content .page-title {
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0, 229, 255, 0.3);
    padding-bottom: 15px;
}
.usercp-content .page-title span {
    font-family: 'Harmonique-Heavy', sans-serif;
    font-size: 24px;
    color: #00e5ff;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}


.footer.footer-no-bg {
    background: none !important;
    height: auto !important;
    margin-top: 0 !important;
    padding-top: 50px !important;
    position: relative !important;
}
.footer.footer-no-bg::before {
    height: 100% !important;
    background: linear-gradient(to bottom, transparent 0%, #0d151c 25%, #0d151c 100%) !important;
}

.panel-news .panel-title { color: #00d2ff !important; font-weight: 700; font-size: 20px; text-shadow: 0 0 10px rgba(0, 210, 255, 0.3); }

@media (max-width: 991px) { .server-info-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .server-info-cards { grid-template-columns: 1fr; } .info-card { aspect-ratio: auto; min-height: 150px; } }


.floating-streamer-btn {
    position: absolute;
    top: -220px;
    left: 40px;
    z-index: 997;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(8, 15, 30, 0.9), rgba(4, 8, 20, 0.95));
    border: 2px solid rgba(0, 229, 255, 0.5);
    border-radius: 35px;
    color: #00e5ff;
    font-family: 'Harmonique-Heavy', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 0 15px rgba(0, 229, 255, 0.2), 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 229, 255, 0.3);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: streamerBtnGlow 2.5s ease-in-out infinite alternate;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}
.floating-streamer-btn:hover {
    transform: scale(1.08);
    background: linear-gradient(135deg, rgba(12, 25, 45, 0.95), rgba(4, 15, 30, 0.95));
    border-color: #00e5ff;
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.9);
    box-shadow: inset 0 0 25px rgba(0, 229, 255, 0.4), 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 229, 255, 0.6);
}
@keyframes streamerBtnGlow {
    0% { box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1), 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 229, 255, 0.2); }
    100% { box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.3), 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 35px rgba(0, 229, 255, 0.5); }
}
.streamer-pulse {
    width: 10px;
    height: 10px;
    background: #ff003c;
    border-radius: 50%;
    box-shadow: 0 0 15px #ff003c, 0 0 30px #ff003c;
    animation: pulseDot 1.2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 15px #ff003c, 0 0 30px #ff003c; }
    50% { opacity: 0.6; transform: scale(0.85); box-shadow: 0 0 8px #ff003c, 0 0 15px #ff003c; }
}
.streamer-btn-label {
    line-height: 1;
    margin-top: 2px;
}
.streamer-popup {
    position: absolute;
    left: 40px;
    top: -480px;
    transform: scale(0.9);
    transform-origin: bottom left;
    width: 360px;
    height: 240px;
    background: linear-gradient(135deg, rgba(13, 20, 36, 0.98), rgba(8, 12, 22, 0.98));
    border: 2px solid rgba(0, 229, 255, 0.5);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 229, 255, 0.3);
    z-index: 9998;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.streamer-popup.open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}
.streamer-popup.expanded {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: 90vw;
    height: 80vh;
    max-width: 1100px;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9999;
}
.streamer-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    background: linear-gradient(90deg, rgba(0, 229, 255, 0.15), transparent);
    flex-shrink: 0;
}
.streamer-popup-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(0, 229, 255, 0.3);
    border: 1px solid rgba(0, 229, 255, 0.5);
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
    flex-shrink: 0;
}
.streamer-popup-title {
    flex: 1;
    font-family: 'Harmonique-Medium', sans-serif;
    font-size: 12px;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.streamer-popup-actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.streamer-popup-expand,
.streamer-popup-close {
    width: 24px;
    height: 24px;
    background: transparent;
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50%;
    color: #00e5ff;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}
.streamer-popup-expand:hover,
.streamer-popup-close:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: #00ffff;
    color: #fff;
}
.streamer-popup-body {
    flex: 1;
    background: #000;
    min-height: 0;
    position: relative;
}
.streamer-popup-body iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.aetherix-guia-card {
    background: rgba(8, 16, 24, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 12px;
    padding: 22px 26px;
    margin-bottom: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), inset 0 0 30px rgba(0, 229, 255, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.aetherix-guia-card:hover {
    border-color: rgba(0, 229, 255, 0.5);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), inset 0 0 36px rgba(0, 229, 255, 0.08);
}
.aetherix-guia-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    padding-bottom: 12px;
}
.aetherix-guia-title {
    margin: 0;
    font-family: 'Harmonique-Heavy', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #00e5ff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.4);
}
.aetherix-guia-title a {
    color: #00e5ff;
    text-decoration: none;
}
.aetherix-guia-title a:hover {
    color: #fff;
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.7);
}
.aetherix-guia-thumb {
    width: 120px;
    height: auto;
    max-height: 90px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 0 16px rgba(0, 229, 255, 0.15);
}
.aetherix-guia-banner {
    display: block;
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(0, 229, 255, 0.25);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    margin: 0 0 18px;
}
.aetherix-guia-date {
    margin-left: auto;
    color: #6f8fae;
    font-size: 13px;
    min-width: 80px;
    text-align: right;
}
.guias-pane .aetherix-guia-date {
    margin: 2px 0 16px;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-align: left;
    min-width: 0;
}
.aetherix-guia-content {
    color: #d0d7e5;
    font-size: 14px;
    line-height: 1.75;
    font-family: 'Inter', sans-serif;
    word-break: break-word;
}
.aetherix-guia-content p { margin: 0 0 12px; }
.aetherix-guia-content h3,
.aetherix-guia-content h4 {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    margin: 18px 0 8px;
}
.aetherix-guia-content ul,
.aetherix-guia-content ol { margin: 0 0 12px 20px; }
.aetherix-guia-content li { margin-bottom: 4px; }
.aetherix-guia-content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.aetherix-guia-content table { width: 100%; margin: 12px 0; border-collapse: collapse; }
.aetherix-guia-content th { color: #00e5ff; background: rgba(0, 229, 255, 0.06); }
.aetherix-guia-content td,
.aetherix-guia-content th {
    border: 1px solid rgba(0, 229, 255, 0.18);
    padding: 8px 12px;
}
.aetherix-guia-link {
    display: inline-block;
    margin-top: 10px;
    color: #00e5ff;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.aetherix-guia-link:hover {
    color: #fff;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.6);
}
.guias-two-col {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.guias-nav {
    position: relative;
    flex: 0 0 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-left: -50px;
}
.guias-nav::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -12px;
    width: 2px;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0) 0%, rgba(0, 229, 255, 0.85) 12%, rgba(0, 229, 255, 0.85) 88%, rgba(0, 229, 255, 0) 100%);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}
.guias-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-left: 2px solid rgba(0, 229, 255, 0.35);
    background: rgba(19, 35, 59, 0.35);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}
.guias-nav-item i {
    color: #00e5ff;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
    flex-shrink: 0;
}
.guias-nav-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.guias-nav-item:hover {
    background: rgba(19, 35, 59, 0.6);
    border-left-color: #00e5ff;
    transform: translateX(4px);
    color: #fff;
}
.guias-nav-item.active {
    background: rgba(0, 229, 255, 0.12);
    border-left-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.guias-view {
    flex: 1;
    min-width: 0;
}
.guias-pane {
    display: none;
}
.guias-pane.active {
    display: block;
}
.aetherix-guias-editor {
    font-family: 'Consolas', 'Monaco', monospace;
    min-height: 220px;
}
.guides-hero-col {
    margin-right: auto;
    position: relative;
    top: -170px;
    left: -90px;
    z-index: 30;
    width: 220px;
    flex-shrink: 0;
}
.guides-hero {
    position: relative;
    width: 100%;
}
.guides-hero-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 0 auto;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #0B6CC9, #2D7DFF, #00E5FF);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    z-index: 5;
}
.guides-hero-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), inset 0 2px 0 rgba(255,255,255,0.4);
}
.guides-caret {
    position: static;
    margin: 0;
    color: #fff;
    font-size: 12px;
    transform: none;
    transition: transform 0.3s ease;
    pointer-events: none;
}
.guides-hero.open .guides-caret {
    transform: rotate(180deg);
}
.guides-dropdown {
    position: absolute;
    top: calc(100% - 10px);
    left: calc(50% + 0px);
    width: 340px;
    box-sizing: border-box;
    background: url(../img/guides-dropdown-bg.png) top center / 100% 100% no-repeat;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 38px 49px 60px 34px;
    min-height: 474px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 1;
}
.guides-hero.open .guides-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.guides-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1px solid transparent;
    border-left: 2px solid rgba(0, 229, 255, 0.35);
    background: transparent;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}
.guides-item i {
    color: #00e5ff;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.7);
    flex-shrink: 0;
}
.guides-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.guides-item:hover {
    transform: translateX(4px);
    border-left-color: #00e5ff;
    background: rgba(19, 35, 59, 0.45);
    box-shadow: none;
    color: #fff;
}
.guides-viewall {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 22px;
    width: max-content;
    border-radius: 8px;
    background: linear-gradient(135deg, #0B6CC9, #2D7DFF, #00E5FF);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4), inset 0 2px 0 rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}
.guides-viewall:hover {
    transform: scale(1.03);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), inset 0 2px 0 rgba(255,255,255,0.4);
    color: #fff;
}

@media (max-width: 768px) {
    html, body {
        width: auto;
        max-width: 100%;
        overflow-x: hidden;
    }

    .header {
        height: auto;
        transform: none;
        background: #081018;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        padding: 12px 16px;
    }
    .header-inner {
        padding: 0;
        height: auto;
        flex-wrap: wrap;
    }
    .nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }
    .language-switcher-floating {
        position: static;
        margin: 8px auto 0;
        order: 4;
    }
    .nav-dropdown {
        display: none;
    }

    /* FIX MENU HAMBURGUESA: al abrir, resetear desplazamientos y apilar a ancho completo */
    .header-nav.open .nav-group.nav-left,
    .header-nav.open .nav-group.nav-right {
        transform: none !important;
        width: 100%;
        justify-content: flex-start;
    }
    .header-nav.open .nav-group.nav-right {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 4px;
    }

    .hero {
        height: auto;
        padding: 30px 16px;
    }
    .hero-content {
        margin-top: 0;
    }

    .main-dashboard-layout {
        padding-top: 30px;
        padding-bottom: 40px;
    }
    .guides-hero-col {
        position: static;
        top: auto;
        width: 100%;
        max-width: 340px;
        margin: 0 auto 16px;
    }
    .guias-two-col {
        flex-direction: column;
    }
    .guias-nav {
        flex: none;
        width: 100%;
        margin-left: 0;
    }
    .guias-nav::after {
        display: none;
    }
    .container {
        width: 100%;
        padding: 0 14px;
        max-width: 100%;
    }

    .dashboard-top-row {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 20px;
    }
    .dashboard-top-right {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }
    .login-wrapper {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto;
        max-width: 380px;
    }
    .login-wrapper::before {
        content: "";
        display: block;
        width: 200px;
        max-width: 100%;
        aspect-ratio: 1400 / 819;
        margin: 0 auto -6px;
        background: url(../img/logo.webp) no-repeat center / contain;
    }
    .card-login {
        display: none;
    }
    .login-floating-layer {
        position: relative;
        padding: 20px 18px !important;
        background: rgba(8, 16, 24, 0.82);
        border: 1px solid rgba(0, 229, 255, 0.35);
        border-radius: 14px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
        backdrop-filter: blur(10px);
    }
    .login-title {
        margin-bottom: 22px;
    }
    .aetherix-login-form {
        width: 100%;
    }
    .aetherix-input {
        color: #fff;
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(0, 229, 255, 0.25);
        border-radius: 8px;
        padding: 10px 14px 10px 40px;
    }
    .dashboard-info-col {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    .dashboard-info-col .social-card-link,
    .dashboard-info-col .social-card-link + .social-card-link {
        margin-top: 0 !important;
    }
    .social-card-link {
        width: 58px !important;
        height: 76px !important;
    }
    .social-card-content {
        padding-top: 8px !important;
    }
    .social-icon {
        font-size: 18px !important;
        margin-bottom: 2px !important;
    }
    .social-name {
        font-size: 7px !important;
    }

    .navy-space {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    .action-buttons-container {
        position: relative;
        top: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: center;
        align-items: center;
        gap: 16px;
        padding: 10px 0 30px;
    }
    .action-buttons-container .floating-streamer-btn {
        position: relative;
        top: 0;
        left: 0;
        grid-column: 1 / -1;
        order: -1;
        width: auto;
        min-width: 150px;
        max-width: 220px;
        justify-self: center;
        margin: 0 auto 10px;
        justify-content: center;
        text-align: center;
    }
    .action-buttons-container .action-btn.download-btn-float,
    .action-buttons-container .action-btn.register-btn-float {
        position: relative;
        top: 0;
        left: 0;
        width: auto;
        justify-self: center;
    }
    .action-btn.download-btn-float img,
    .action-btn.register-btn-float img {
        width: 170px;
        max-width: 100%;
    }
    .btn-float-text {
        font-size: 14px;
    }
    .action-buttons-container .streamer-btn-label {
        flex: 1;
    }
    .action-buttons-container .streamer-popup:not(.expanded) {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translate(-50%, -50%) scale(0.9);
        transform-origin: center;
        width: min(360px, calc(100vw - 30px));
        z-index: 99999;
    }
    .action-buttons-container .streamer-popup.open:not(.expanded) {
        transform: translate(-50%, -50%) scale(1);
    }
    .action-buttons-container .streamer-popup::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        z-index: -1;
    }
    .action-buttons-container .streamer-popup.expanded {
        z-index: 99999;
    }

    .dashboard-bottom-row {
        flex-direction: column;
        gap: 22px;
        margin-top: 0;
        position: relative;
        left: 0;
        align-items: stretch;
    }
    .card-rankings,
    .card-rankings-guild,
    .news-box {
        display: none;
    }
    .ranking-floating-layer,
    .ranking-guild-floating-layer {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        padding: 18px 16px;
        background: rgba(8, 16, 24, 0.82);
        border: 1px solid rgba(0, 229, 255, 0.35);
        border-radius: 14px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
        backdrop-filter: blur(10px);
    }
    .ranking-module-title {
        margin-bottom: 16px;
    }
    .ranking-list {
        width: 100%;
    }

    .news-floating-layer {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        display: block;
        width: 100%;
        height: auto;
        padding: 22px 16px;
        background: rgba(8, 16, 24, 0.82);
        border: 1px solid rgba(0, 229, 255, 0.35);
        border-radius: 14px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
        backdrop-filter: blur(10px);
    }
    .news-module-title {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
        white-space: nowrap;
        font-size: 16px;
        font-family: 'Harmonique-Heavy', sans-serif;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        margin-bottom: 24px;
        text-shadow: 0 0 10px rgba(0, 168, 255, 1), 0 0 20px rgba(0, 168, 255, 0.8), 0 0 30px rgba(0, 168, 255, 0.6);
    }
    .news-floating-content {
        width: 100%;
        padding: 0;
    }
    .news-list {
        width: 100%;
    }
    .news-card {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }
    .news-img {
        width: 92px;
        flex-shrink: 0;
        height: auto;
        min-height: 0;
    }
    .news-info {
        padding: 8px 10px;
        min-width: 0;
        flex: 1;
    }
    .news-title {
        font-size: 12px;
        white-space: normal;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .news-desc {
        font-size: 10px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .news-img,
    .news-card {
        clip-path: none;
    }

    .dashboard-castle-siege-row {
        margin-top: 24px;
        top: 0;
        margin-bottom: 0;
    }
    .castle-siege-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        background: rgba(8, 16, 24, 0.82);
        border: 1px solid rgba(0, 229, 255, 0.35);
        border-radius: 14px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(0, 229, 255, 0.05);
        backdrop-filter: blur(10px);
        padding: 22px 16px;
    }
    .castle-siege-banner {
        display: none;
    }
    .cs-overlay {
        position: relative;
        padding: 0;
        flex-direction: column;
        gap: 18px;
        background: transparent;
        border: 0;
        box-shadow: none;
        align-items: stretch;
    }
    .cs-left, .cs-right {
        width: 100%;
        align-items: center;
        text-align: center;
        margin-top: 0;
    }
    .cs-right {
        align-items: center;
    }
    .cs-ally-list {
        align-items: center;
    }
    .cs-countdown-box {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }
    .cs-split-title-left,
    .cs-split-title-right {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        align-items: center;
        text-align: center;
        margin-bottom: 4px;
        width: 100%;
    }
    .cs-split-title-right {
        margin-bottom: 18px;
    }
    .cs-title-text {
        font-size: 24px;
    }

    .footer {
        height: auto;
        margin-top: 0;
        padding: 40px 0 20px;
        background: url(../img/bg-footer.webp) no-repeat center top / cover;
    }
    .footer::before {
        height: 100%;
    }
    .footer .container {
        height: auto;
        padding-bottom: 0;
    }
    .fat-footer-wrapper {
        padding: 0 16px;
    }
    .fat-footer-top {
        flex-direction: column;
        gap: 24px;
    }
    .ff-brand {
        transform: none;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .ff-brand-logo {
        position: static;
        transform: none;
        margin-bottom: 14px;
    }
    .ff-brand-logo img {
        max-width: 180px;
        margin: 0 auto;
    }
    .ff-brand h2 {
        font-size: 22px;
    }
    .ff-badges {
        justify-content: center;
        grid-template-columns: none;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .ff-brand p {
        max-width: 90%;
        margin: 0 auto;
    }
    .ff-nav {
        transform: none !important;
        width: 100%;
        text-align: center;
    }
    .ff-nav h3 {
        text-align: center;
        border-left: 0;
        padding-left: 0;
    }
    .ff-nav ul {
        text-align: center;
    }
    .ff-nav ul li a {
        padding-left: 0;
    }
    .ff-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        justify-content: center;
        align-items: center;
    }
    .ff-bottom .footer-links {
        margin-left: 0 !important;
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .ff-bottom .footer-copyright {
        text-align: center;
        width: 100%;
        display: block;
    }
    .ff-credit {
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    /* USER CP MOVIL: apilar sidebar arriba y contenido abajo (el flex inline se anula) */
    .cards-section .container > div[style*="display: flex"] {
        display: block !important;
    }
    .cards-section .container > div[style*="display: flex"] > div[style*="flex: 0 0 260px"],
    .cards-section .container > div[style*="display: flex"] > div[style*="max-width: 260px"] {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-bottom: 20px;
    }
    .cards-section .container > div[style*="display: flex"] > .usercp-content {
        flex: none !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .usercp-content .panel-general {
        padding: 20px 14px !important;
    }
    .usercp-content .panel-general,
    .usercp-content .panel-body {
        overflow-x: hidden;
    }
    .usercp-content .page-title {
        font-size: 18px;
    }
    .usercp-content .page-title span {
        font-size: 20px;
    }
    .myaccount-table td {
        padding: 10px 12px;
    }
    .myaccount-table td:first-child {
        width: auto;
    }

    /* VOTAR: tabla en tarjetas apiladas (boton ancho, nada desborda) */
    .usercp-content table.general-table-ui,
    .panel-general table.general-table-ui {
        display: block;
        width: 100% !important;
        border-spacing: 0;
    }
    .usercp-content table.general-table-ui tbody,
    .panel-general table.general-table-ui tbody {
        display: block;
    }
    .usercp-content table.general-table-ui tr,
    .panel-general table.general-table-ui tr {
        display: block;
        width: 100%;
        padding: 10px 0 0;
        margin-bottom: 10px;
        border: 1px solid rgba(0, 229, 255, 0.1);
        border-radius: 8px;
        background: rgba(0, 0, 0, 0.2);
    }
    .usercp-content table.general-table-ui td,
    .panel-general table.general-table-ui td {
        display: block;
        width: 100% !important;
        padding: 8px 12px;
        border: 0 !important;
        background: transparent !important;
        text-align: left;
        word-break: break-word;
        vertical-align: middle;
    }
    .usercp-content table.general-table-ui tr td:first-child,
    .panel-general table.general-table-ui tr td:first-child {
        border-radius: 8px 8px 0 0;
        color: #fff;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-family: 'Harmonique-Medium', sans-serif;
    }
    .usercp-content table.general-table-ui tr td:last-child,
    .panel-general table.general-table-ui tr td:last-child {
        text-align: center;
        padding-top: 4px;
    }
    .usercp-content table.general-table-ui .btn-primary,
    .panel-general table.general-table-ui .btn-primary,
    .usercp-content .jd-btn-premium {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        white-space: normal;
    }
    .usercp-content table.general-table-ui .btn,
    .panel-general table.general-table-ui .btn {
        box-sizing: border-box;
    }

    /* TRANSFERIR: apilar columnas, inputs y boton a ancho completo */
    .usercp-content .jd-flex-split,
    .jd-glass-panel .jd-flex-split {
        flex-direction: column !important;
        gap: 16px !important;
    }
    .jd-glass-panel {
        padding: 16px !important;
    }
    .usercp-content .jd-glass-panel > div,
    .usercp-content .jd-glass-panel .jd-flex-split > div,
    .jd-glass-panel .jd-flex-split > div {
        flex: 1 1 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
    }
    .jd-glass-panel .jd-flex-split > div > div[style*="height: 100%"] {
        height: auto !important;
        padding: 22px 16px !important;
    }
    .jd-glass-panel .jd-input-glow,
    .jd-glass-panel .jd-btn-premium {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .jd-glass-panel .jd-btn-premium {
        white-space: normal;
    }

    /* GENERICO: grids bootstrap y formularios a ancho completo en movil */
    .usercp-content [class^="col-"],
    .usercp-content [class*=" col-"] {
        padding-left: 0;
        padding-right: 0;
        float: none;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .usercp-content .form-group,
    .panel-general .form-group {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    .usercp-content .form-group::after,
    .usercp-content .form-group::before {
        display: none;
    }
    .usercp-content .control-label,
    .usercp-content label {
        text-align: left !important;
        display: block !important;
        margin-bottom: 4px;
    }
    .usercp-content .form-control,
    .usercp-content input[type="text"],
    .usercp-content input[type="number"],
    .usercp-content input[type="password"],
    .usercp-content input[type="email"],
    .usercp-content select,
    .usercp-content textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    .usercp-content .text-right,
    .usercp-content .text-center {
        text-align: center !important;
    }
    .usercp-content .character-avatar {
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
    .usercp-content .character-avatar img {
        max-width: 100%;
        height: auto;
    }
    .usercp-content .panel-addstats .panel-body {
        border: 1px solid rgba(0, 229, 255, 0.1);
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.2);
        margin-bottom: 16px;
        padding: 16px 12px;
    }
    .usercp-content .row,
    .panel-general .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .usercp-content table.table:not(.general-table-ui),
    .panel-general table.table:not(.general-table-ui) {
        display: block;
        width: 100% !important;
        overflow-x: auto;
    }

    /* RANKINGS MOVIL: filas en tarjetas apiladas, sin desborde */
    .rankings-table {
        display: block;
        width: 100% !important;
        border-collapse: separate !important;
        border-spacing: 0 !important;
    }
    .rankings-table tbody,
    .rankings-table thead,
    .rankings-table tr {
        display: block;
        width: 100%;
    }
    .rankings-table thead { display: none; }
    .rankings-table tbody tr {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(0, 229, 255, 0.1);
        border-radius: 10px;
        margin-bottom: 12px;
        padding: 12px 12px;
        box-sizing: border-box;
        text-align: center;
    }
    .rankings-table tbody td {
        display: block;
        width: 100% !important;
        padding: 2px 0 !important;
        text-align: center !important;
        border: 0 !important;
        background: transparent !important;
        box-sizing: border-box;
    }
    .rankings-table td.rankings-table-place {
        font-size: 22px !important;
        color: #00e5ff;
        text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
    }
    .rankings-table td:nth-child(2),
    .rankings-table td:nth-child(3) {
        display: inline-block;
        width: auto !important;
        margin: 0 4px;
        vertical-align: middle;
    }
    .rankings-table td:nth-child(2) img,
    .rankings-table td:nth-child(3) img {
        max-width: 100% !important;
        height: auto !important;
    }
    .rankings-table td:last-child {
        font-family: 'Harmonique-Heavy', sans-serif;
        color: #00e5ff;
        font-size: 16px;
    }
    .rankings-table td a {
        color: #fff;
        text-decoration: none;
        font-size: 15px;
        font-weight: 700;
    }
    .panel-guides-list {
        display: block;
        padding: 0;
        background: rgba(10, 20, 32, 0.9);
        border: 1px solid rgba(0, 229, 255, 0.28);
        border-radius: 14px;
        box-shadow: 0 0 28px rgba(0, 229, 255, 0.12);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        overflow: hidden;
    }
    .panel-guides-list::before {
        content: none;
        display: none;
    }
    .panel-guides-list > .panel-body {
        display: block;
        padding: 18px 14px 22px;
    }
    .panel-guides-list .content-panel {
        display: block;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .panel-guides-list .page-title {
        font-size: 19px;
        justify-content: center;
        text-align: center;
        margin-bottom: 14px;
        line-height: 1.2;
    }
    .panel-guides-list .guias-nav {
        margin-bottom: 16px;
    }
    .panel-guides-list .guias-nav-item {
        width: 100%;
        box-sizing: border-box;
    }
    .panel-guides-list .guias-view {
        width: 100%;
    }
    .panel-guides-list .aetherix-guia-title {
        font-size: 20px;
    }
    .panel-guides-list .aetherix-guia-banner {
        max-height: 220px;
    }
    .panel-guides-list .aetherix-guia-content {
        font-size: 14px;
        word-break: break-word;
    }
    .cards-section:has(.panel-guides-list) {
        padding-top: 110px !important;
        padding-bottom: 50px !important;
    }
    .panel-guides-list .guias-two-col {
        align-items: stretch !important;
    }
    .panel-guides-list .guias-view,
    .panel-guides-list .guias-pane,
    .panel-guides-list .aetherix-guia-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    .panel-guides-list .aetherix-guia-content * {
        max-width: 100%;
    }
}

/* ---- PayPal Gateway ---- */
.paypal-gateway-container { max-width: 620px; margin: 0 auto; }
.paypal-gateway-content {
    position: relative;
    background: linear-gradient(180deg, rgba(8, 18, 28, 0.92), rgba(4, 10, 16, 0.96));
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 16px;
    padding: 38px 30px 34px;
    box-shadow: 0 14px 44px rgba(0, 0, 0, 0.55), 0 0 26px rgba(0, 229, 255, 0.08);
    text-align: center;
    overflow: hidden;
}
.paypal-gateway-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.85), transparent);
}
.paypal-gateway-logo { display: none; }
.paypal-gateway-form { color: #cfe9f2; font-size: 16px; line-height: 2; margin-bottom: 24px; }
.paypal-gateway-form #amount {
    width: 104px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 8px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    padding: 9px 10px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.paypal-gateway-form #amount:focus {
    outline: none;
    border-color: #00e5ff;
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.3);
}
.paypal-gateway-form #result { color: #00e5ff; font-weight: 800; font-size: 17px; }
.paypal-gateway-continue { margin-top: 4px; }
.paypal-gateway-continue input[type="submit"] {
    background: linear-gradient(135deg, #0093b8, #00e5ff);
    border: none;
    border-radius: 10px;
    color: #02121a;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
    padding: 13px 40px;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(0, 229, 255, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.paypal-gateway-continue input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 229, 255, 0.45);
}
@media (max-width: 640px) {
    .paypal-gateway-content { padding: 26px 18px; }
    .paypal-gateway-continue input[type="submit"] { width: 100%; }
}

